import request from '@/utils/request'

export default {
  selectByPage(page, limit, loginLogQuery) {
    return request({
      url: `/rbac/loginLog/selectByPage?page=${page}&limit=${limit}`,
      method: 'get',
      params: loginLogQuery
    })
  },
  deleteById(id) {
    return request({
      url: `/rbac/loginLog/deleteById/${id}`,
      method: 'delete'
    })
  },
  // '1,2,3'
  deleteAll(ids) {
    return request({
      url: `/rbac/loginLog/deleteAll/${ids}`,
      method: 'delete'
    })
  }
}


// export function selectByPage(page, limit) {
//   return request({
//     url: `/rbac/loginLog/selectByPage?page=${page}&limit=${limit}`,
//     method: 'get'
//   })
// }